package com.haixiaoke.saas.order.domain;

import com.haixiaoke.saas.common.annotation.Excel;
import com.haixiaoke.saas.common.core.domain.BaseEntity;
import lombok.Data;


/**
 * 订单状态变更记录对象 biz_order_state_record
 *
 * @author qixi
 * @date 2024-04-07
 */
@Data
public class OrderStateRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 订单记录id
     */
    private Long recordId;

    /**
     * 订单id
     */
    @Excel(name = "订单id")
    private String orderId;

    /**
     * 订单前置状态
     */
    @Excel(name = "订单前置状态")
    private String orderBeforeState;

    /**
     * 订单变更后状态
     */
    @Excel(name = "订单变更后状态")
    private String orderAfterState;

    /**
     * 记录来源(1.B端,2.C端)
     */
    @Excel(name = "记录来源", readConverterExp = "1=B端,1=C端", combo = {"B端", "C端"})
    private String recordSource;

    /**
     * 操作的原因
     */
    @Excel(name = "操作的原因")
    private String recordReason;

}
